.leg {
  background: var(--foot-color);
  position: absolute;
  transform-origin: top center;
}

.leg-left {
  top: 69.645%;
  left: 6.614%;
  width: 25.698%;
  height: 36.548%;
  border-radius: 0px 0px 30px 50px / 0px 0px 47px 84px;
  z-index: -1;
  transform: rotate(8deg);
  animation: legLeftAnimation 0.8s linear infinite alternate;
}

.leg-right {
  width: 18.072%;
  height: 21.612%;
  top: 82.548%;
  left: 61.144%;
  z-index: -1;
  border-radius: 0px 0px 36px 36px / 0px 0px 44px 26px;
  transform: rotate(8deg);
  animation: legLeftAnimation 0.8s linear infinite alternate;
}

@keyframes legLeftAnimation {
  0% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(20deg);
  }
}